package com.wuhunyu.client.err;

import com.wuhunyu.client.MsmServiceClient;
import com.wuhunyu.commonutils.result.CommonResult;
import org.springframework.stereotype.Component;

/**
 * 邮件发送兜底方法
 *
 * @author wuhunyu
 * @version 1.0
 * @date 2021-01-26 9:31
 */
@Component
public class MsmServiceClientErr implements MsmServiceClient {

    @Override
    public CommonResult sendEmail(String email) {
        return CommonResult.error("邮件发送失败");
    }
}
